package ar.com.psicosoft.model.psicosoft;

import java.io.Serializable;
import javax.persistence.*;
import java.sql.Timestamp;


/**
 * The persistent class for the banco database table.
 * 
 */
@Entity
@Table(name="banco", schema = "psicosoft")
@NamedQuery(name="Banco.findAll", query="SELECT b FROM Banco b")
public class Banco implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="sec_banco", sequenceName="psicosoft.sec_banco")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="sec_banco")
	@Column(name="\"idBanco\"", unique=true, nullable=false)
	private Integer idBanco;

	private Timestamp baja;

	@Column(name="\"nombreBanco\"", nullable=false, length=50)
	private String nombreBanco;

	public Banco() {
	}

	public Integer getIdBanco() {
		return this.idBanco;
	}

	public void setIdBanco(Integer idBanco) {
		this.idBanco = idBanco;
	}

	public Timestamp getBaja() {
		return this.baja;
	}

	public void setBaja(Timestamp baja) {
		this.baja = baja;
	}

	public String getNombreBanco() {
		return this.nombreBanco;
	}

	public void setNombreBanco(String nombreBanco) {
		this.nombreBanco = nombreBanco;
	}

}